package com.hmall.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "shop_user_shares")
public class ShopUserShares {
    @Id
    private Integer id;

    @Column(name = "user_id")
    private Integer userId;

    @Column(name = "shares_id")
    private Integer sharesId;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return user_id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * @return shares_id
     */
    public Integer getSharesId() {
        return sharesId;
    }

    /**
     * @param sharesId
     */
    public void setSharesId(Integer sharesId) {
        this.sharesId = sharesId;
    }
}